export default {
  defaultSeverity: 'error',
  extends: ['stylelint-config-recommended-vue'],
  rules: {
    // 基础规则
    'color-hex-length': 'short',
    'color-function-notation': 'modern',
    'alpha-value-notation': 'percentage',
    'value-keyword-case': 'lower',

    // Vue 特定规则
    'selector-pseudo-element-no-unknown': [
      true,
      {
        ignorePseudoElements: ['v-deep', 'v-global', 'v-slotted'],
      },
    ],
  },
  ignoreFiles: ['dist/**/*', 'node_modules/**/*', 'coverage/**/*'],
};
